package com.aiss.ws.activity;


import com.aiss.ws.R;

import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.Background;
import org.androidannotations.annotations.EActivity;
import org.androidannotations.annotations.UiThread;

/**
 * 启动页
 */
@EActivity(R.layout.activity_initial)

    public class InitialActivity extends BaseActivity {



    @AfterViews
    void init(){
        setTime();
    }

    @Background
    void setTime(){
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        setIntent();
    }

    @UiThread
    void setIntent(){
        HomeActivity_.intent(this).start();
            finish();
    }


}
